package com.bootx.pojo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.ArrayList;
import java.util.List;

@JsonIgnoreProperties(ignoreUnknown = true)
public class CategoryPojo {

    private Integer code;
    @JsonProperty("tempates")
    private List<TempatesBean> tempates = new ArrayList<>();

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public List<TempatesBean> getTempates() {
        return tempates;
    }

    public void setTempates(List<TempatesBean> tempates) {
        this.tempates = tempates;
    }

    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class TempatesBean {

        @JsonProperty("id")
        private String id;
        @JsonProperty("type")
        private String type;
        @JsonProperty("name")
        private String name;
        @JsonProperty("short_name")
        private String shortName;
        @JsonProperty("img")
        private String img;
        @JsonProperty("desc")
        private String desc;
        @JsonProperty("sort")
        private Integer sort;
        @JsonProperty("form")
        private Object form;
        @JsonProperty("view")
        private Integer view;
        @JsonProperty("path")
        private String path;
        @JsonProperty("title")
        private String title;
        @JsonProperty("keywords")
        private String keywords;
        @JsonProperty("description")
        private String description;
        @JsonProperty("is_outline")
        private Boolean isOutline;
        @JsonProperty("page")
        private String page;
        @JsonProperty("titletools")
        private String titletools;
        @JsonProperty("keywordstools")
        private String keywordstools;
        @JsonProperty("descriptiontools")
        private String descriptiontools;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getShortName() {
            return shortName;
        }

        public void setShortName(String shortName) {
            this.shortName = shortName;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public Integer getSort() {
            return sort;
        }

        public void setSort(Integer sort) {
            this.sort = sort;
        }

        public Object getForm() {
            return form;
        }

        public void setForm(Object form) {
            this.form = form;
        }

        public Integer getView() {
            return view;
        }

        public void setView(Integer view) {
            this.view = view;
        }

        public String getPath() {
            return path;
        }

        public void setPath(String path) {
            this.path = path;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getKeywords() {
            return keywords;
        }

        public void setKeywords(String keywords) {
            this.keywords = keywords;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public Boolean isIsOutline() {
            return isOutline;
        }

        public void setIsOutline(Boolean isOutline) {
            this.isOutline = isOutline;
        }

        public String getPage() {
            return page;
        }

        public void setPage(String page) {
            this.page = page;
        }

        public String getTitletools() {
            return titletools;
        }

        public void setTitletools(String titletools) {
            this.titletools = titletools;
        }

        public String getKeywordstools() {
            return keywordstools;
        }

        public void setKeywordstools(String keywordstools) {
            this.keywordstools = keywordstools;
        }

        public String getDescriptiontools() {
            return descriptiontools;
        }

        public void setDescriptiontools(String descriptiontools) {
            this.descriptiontools = descriptiontools;
        }
    }
}
